package com.boco.webmaster.security.model;

import com.boco.transnms.common.dto.base.*;

public class MenuAction extends GenericDO{
    public static class AttrName{
        public static final String menuId = "menuId";
        public static final String menuName = "menuName";
        public static final String image = "image";
        public static final String actionNames = "actionNames";
        public static final String url = "url";
        public static final String parentMenuId = "parentMenuId";
        public static final String level = "level";
        public static final String order = "order";
        public static final String type = "type";
    }

    public MenuAction() {

    }

    public void setActionNames(String actionNames) {
        super.setAttrValue(AttrName.actionNames,actionNames);
    }

    public void setMenuId(String menuId) {
        super.setAttrValue(AttrName.menuId,menuId);
    }

    public String getActionNames() {
        return super.getAttrString(AttrName.actionNames);
    }

    public String getMenuId() {
        return super.getAttrString(AttrName.menuId);
    }

    public void setMenuName(String menuName) {
        super.setAttrValue(AttrName.menuName,menuName);
    }

    public void setImage(String image) {
        super.setAttrValue(AttrName.image,image);
    }

    public String getMenuName() {
        return super.getAttrString(AttrName.menuName);
    }

    public String getImage() {
        return super.getAttrString(AttrName.image);
    }

    public void setUrl(String url) {
        super.setAttrValue(AttrName.url,url);
    }

    public String getUrl() {
        return super.getAttrString(AttrName.url);
    }

    public void setParentMenuId(String parentMenuId) {
        super.setAttrValue(AttrName.parentMenuId,parentMenuId);
    }

    public String getParentMenuId() {
        return super.getAttrString(AttrName.parentMenuId);
    }

    public void setLevel(String level) {
        super.setAttrValue(AttrName.level,level);
    }

    public String getLevel() {
        return super.getAttrString(AttrName.level);
    }

    public void setOrder(Long order) {
        super.setAttrValue(AttrName.order,order);
    }

    public Long getOrder() {
        return super.getAttrLong(AttrName.order);
    }

    public void setType(String type) {
        super.setAttrValue(AttrName.type,type);
    }

    public String getType() {
        return super.getAttrString(AttrName.type);
    }

}
